<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('AdminTerm/term_type_list')}">分类列表</a></li>
			<li><a href="{:U('AdminTerm/term_type_edit')}">添加分类</a></li>
		</ul>
		<div class="table-actions">

		<table class="table table-hover table-bordered table-list" style="width: 60%;">
			<thead>
				<tr>
					<th>ID</th>
					<th>分类名称</th>
					<th>操作</th>
				</tr>
			</thead>
			<foreach name="term_type" item="vo">
				<tr>
					<td>
						<b>{$vo.id}</b>
					</td>

					<td>
						<a href="{:leuu('AdminTerm/term_index', array('term_type_id' => $vo['id']))}">{$vo.type_name}</a>
					</td>

					<td>
						<a href="{:U('AdminTerm/term_type_edit', array('id' => $vo['id']))}">编辑</a> |
						<a href="{:U('AdminTerm/term_type_edit', array('id' => $vo['id'], 'del' => 1))}" class="js-ajax-delete">删除</a>
					</td>
				</tr>
			</foreach>
		</table>

	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>